<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<style>
		.box-container {
			height: initial;
			width: 50%;
			background-color: red;
		}
	</style>
</head>

<body>
	<div class="box-container">hello</div>
</body>

</html>